using DataDynamics.ActiveReports;
using DDCssLib;
using SS;
using System;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Resources;
using TVSReports;
namespace TVSBH.func
{
	public class frmInputBill : ActiveReport3
	{
		private PageHeader pageHeader;
		private Detail detail;
		private PageFooter pageFooter;
		private Label lblComName;
		private Label lblComAddress;
		private Label lblComPhone;
		private Label label3;
		private Shape shape1;
		private Label label1;
		private Label label2;
		private Label label4;
		private Label label5;
		private Label label6;
		private Label label7;
		private Label label8;
		public Label lblProviderName;
		public Label lblBillID;
		public Label lblBillDate;
		public Label lblBillNote;
		public Label lvlProviderAddress;
		public Label lblProviderPhone;
		private Label label23;
		private Label label24;
		private Label label25;
		private Label label26;
		private Label label27;
		private Label label28;
		private Label label29;
		public Label lblTotalMoney23232;
		private ReportHeader reportHeader1;
		private ReportFooter reportFooter1;
		private Label label16;
		private Label label17;
		private Label label18;
		public TextBox lblAllMoney;
		public TextBox lblDebt;
		public TextBox lblTotalMoney;
		private Label label19;
		private Label label20;
		private Label label21;
		private Label label22;
		private Label lblPrintTime;
		private Label label30;
		public TextBox txtMoney;
		private Label label31;
		public TextBox txtDisCount;
		private Label lblMoneyByWord;
		private Label label32;
		public TextBox txtTotalVAT;
		private TextBox textBox1;
		private TextBox textBox2;
		private TextBox textBox3;
		private TextBox textBox4;
		private TextBox textBox5;
		private TextBox textBox6;
		private TextBox textBox7;
		private Func objFunc = new Func();
		public static DataTable objTable;
		public static string totalMoney;
		public static string discount;
		public static string moneyByWord;
		public static string totalVAT;
		private clsReports clsR = new clsReports();
		protected override void Dispose(bool disposing)
		{
			if (disposing)
			{
			}
			base.Dispose(disposing);
		}
		private void InitializeComponent()
		{
			ResourceManager resourceManager = new ResourceManager(typeof(frmInputBill));
			this.pageHeader = new PageHeader();
			this.shape1 = new Shape();
			this.lblComName = new Label();
			this.lblComAddress = new Label();
			this.lblComPhone = new Label();
			this.label3 = new Label();
			this.label1 = new Label();
			this.label2 = new Label();
			this.lblProviderName = new Label();
			this.label4 = new Label();
			this.lblProviderPhone = new Label();
			this.label5 = new Label();
			this.lblBillID = new Label();
			this.label6 = new Label();
			this.lblBillDate = new Label();
			this.label7 = new Label();
			this.lvlProviderAddress = new Label();
			this.label8 = new Label();
			this.lblBillNote = new Label();
			this.label23 = new Label();
			this.label24 = new Label();
			this.label25 = new Label();
			this.label26 = new Label();
			this.label27 = new Label();
			this.label28 = new Label();
			this.label29 = new Label();
			this.detail = new Detail();
			this.pageFooter = new PageFooter();
			this.lblPrintTime = new Label();
			this.lblTotalMoney23232 = new Label();
			this.reportHeader1 = new ReportHeader();
			this.reportFooter1 = new ReportFooter();
			this.label17 = new Label();
			this.label18 = new Label();
			this.lblAllMoney = new TextBox();
			this.lblDebt = new TextBox();
			this.lblTotalMoney = new TextBox();
			this.label19 = new Label();
			this.label20 = new Label();
			this.label21 = new Label();
			this.label22 = new Label();
			this.txtMoney = new TextBox();
			this.label31 = new Label();
			this.txtDisCount = new TextBox();
			this.lblMoneyByWord = new Label();
			this.label32 = new Label();
			this.txtTotalVAT = new TextBox();
			this.label16 = new Label();
			this.label30 = new Label();
			this.textBox1 = new TextBox();
			this.textBox2 = new TextBox();
			this.textBox3 = new TextBox();
			this.textBox4 = new TextBox();
			this.textBox5 = new TextBox();
			this.textBox6 = new TextBox();
			this.textBox7 = new TextBox();
			((ISupportInitialize)this.lblComName).BeginInit();
			((ISupportInitialize)this.lblComAddress).BeginInit();
			((ISupportInitialize)this.lblComPhone).BeginInit();
			((ISupportInitialize)this.label3).BeginInit();
			((ISupportInitialize)this.label1).BeginInit();
			((ISupportInitialize)this.label2).BeginInit();
			((ISupportInitialize)this.lblProviderName).BeginInit();
			((ISupportInitialize)this.label4).BeginInit();
			((ISupportInitialize)this.lblProviderPhone).BeginInit();
			((ISupportInitialize)this.label5).BeginInit();
			((ISupportInitialize)this.lblBillID).BeginInit();
			((ISupportInitialize)this.label6).BeginInit();
			((ISupportInitialize)this.lblBillDate).BeginInit();
			((ISupportInitialize)this.label7).BeginInit();
			((ISupportInitialize)this.lvlProviderAddress).BeginInit();
			((ISupportInitialize)this.label8).BeginInit();
			((ISupportInitialize)this.lblBillNote).BeginInit();
			((ISupportInitialize)this.label23).BeginInit();
			((ISupportInitialize)this.label24).BeginInit();
			((ISupportInitialize)this.label25).BeginInit();
			((ISupportInitialize)this.label26).BeginInit();
			((ISupportInitialize)this.label27).BeginInit();
			((ISupportInitialize)this.label28).BeginInit();
			((ISupportInitialize)this.label29).BeginInit();
			((ISupportInitialize)this.lblPrintTime).BeginInit();
			((ISupportInitialize)this.lblTotalMoney23232).BeginInit();
			((ISupportInitialize)this.label17).BeginInit();
			((ISupportInitialize)this.label18).BeginInit();
			((ISupportInitialize)this.lblAllMoney).BeginInit();
			((ISupportInitialize)this.lblDebt).BeginInit();
			((ISupportInitialize)this.lblTotalMoney).BeginInit();
			((ISupportInitialize)this.label19).BeginInit();
			((ISupportInitialize)this.label20).BeginInit();
			((ISupportInitialize)this.label21).BeginInit();
			((ISupportInitialize)this.label22).BeginInit();
			((ISupportInitialize)this.txtMoney).BeginInit();
			((ISupportInitialize)this.label31).BeginInit();
			((ISupportInitialize)this.txtDisCount).BeginInit();
			((ISupportInitialize)this.lblMoneyByWord).BeginInit();
			((ISupportInitialize)this.label32).BeginInit();
			((ISupportInitialize)this.txtTotalVAT).BeginInit();
			((ISupportInitialize)this.label16).BeginInit();
			((ISupportInitialize)this.label30).BeginInit();
			((ISupportInitialize)this.textBox1).BeginInit();
			((ISupportInitialize)this.textBox2).BeginInit();
			((ISupportInitialize)this.textBox3).BeginInit();
			((ISupportInitialize)this.textBox4).BeginInit();
			((ISupportInitialize)this.textBox5).BeginInit();
			((ISupportInitialize)this.textBox6).BeginInit();
			((ISupportInitialize)this.textBox7).BeginInit();
			((ISupportInitialize)this).BeginInit();
			this.pageHeader.Height = 0f;
			this.pageHeader.Name = "pageHeader";
			this.shape1.Border.BottomColor = Color.Black;
			this.shape1.Border.BottomStyle = BorderLineStyle.Solid;
			this.shape1.Border.LeftColor = Color.Black;
			this.shape1.Border.LeftStyle = BorderLineStyle.Solid;
			this.shape1.Border.RightColor = Color.Black;
			this.shape1.Border.RightStyle = BorderLineStyle.Solid;
			this.shape1.Border.TopColor = Color.Black;
			this.shape1.Border.TopStyle = BorderLineStyle.Solid;
			this.shape1.Height = 1.25f;
			this.shape1.Left = 0f;
			this.shape1.LineStyle = LineStyle.Transparent;
			this.shape1.LineWeight = 0f;
			this.shape1.Name = "shape1";
			this.shape1.RoundingRadius = 9.999999f;
			this.shape1.Top = 1.25f;
			this.shape1.Width = 7.9375f;
			this.lblComName.Border.BottomColor = Color.Black;
			this.lblComName.Border.BottomStyle = BorderLineStyle.None;
			this.lblComName.Border.LeftColor = Color.Black;
			this.lblComName.Border.LeftStyle = BorderLineStyle.None;
			this.lblComName.Border.RightColor = Color.Black;
			this.lblComName.Border.RightStyle = BorderLineStyle.None;
			this.lblComName.Border.TopColor = Color.Black;
			this.lblComName.Border.TopStyle = BorderLineStyle.None;
			this.lblComName.Height = 0.2007874f;
			this.lblComName.HyperLink = null;
			this.lblComName.Left = 0f;
			this.lblComName.Name = "lblComName";
			this.lblComName.Style = "ddo-char-set: 0; text-align: left; font-weight: bold; font-size: 9.75pt; vertical-align: middle; ";
			this.lblComName.Text = "-:-";
			this.lblComName.Top = 0f;
			this.lblComName.Width = 7.937008f;
			this.lblComAddress.Border.BottomColor = Color.Black;
			this.lblComAddress.Border.BottomStyle = BorderLineStyle.None;
			this.lblComAddress.Border.LeftColor = Color.Black;
			this.lblComAddress.Border.LeftStyle = BorderLineStyle.None;
			this.lblComAddress.Border.RightColor = Color.Black;
			this.lblComAddress.Border.RightStyle = BorderLineStyle.None;
			this.lblComAddress.Border.TopColor = Color.Black;
			this.lblComAddress.Border.TopStyle = BorderLineStyle.None;
			this.lblComAddress.Height = 0.1889764f;
			this.lblComAddress.HyperLink = null;
			this.lblComAddress.Left = 0f;
			this.lblComAddress.Name = "lblComAddress";
			this.lblComAddress.Style = "ddo-char-set: 0; text-align: left; font-weight: normal; font-size: 9.75pt; vertical-align: middle; ";
			this.lblComAddress.Text = "-:-";
			this.lblComAddress.Top = 0.2244094f;
			this.lblComAddress.Width = 7.937008f;
			this.lblComPhone.Border.BottomColor = Color.Black;
			this.lblComPhone.Border.BottomStyle = BorderLineStyle.None;
			this.lblComPhone.Border.LeftColor = Color.Black;
			this.lblComPhone.Border.LeftStyle = BorderLineStyle.None;
			this.lblComPhone.Border.RightColor = Color.Black;
			this.lblComPhone.Border.RightStyle = BorderLineStyle.None;
			this.lblComPhone.Border.TopColor = Color.Black;
			this.lblComPhone.Border.TopStyle = BorderLineStyle.None;
			this.lblComPhone.Height = 0.1889764f;
			this.lblComPhone.HyperLink = null;
			this.lblComPhone.Left = 0f;
			this.lblComPhone.Name = "lblComPhone";
			this.lblComPhone.Style = "ddo-char-set: 0; text-align: left; font-weight: normal; font-size: 9.75pt; vertical-align: middle; ";
			this.lblComPhone.Text = "-:-";
			this.lblComPhone.Top = 0.4370079f;
			this.lblComPhone.Width = 7.937008f;
			this.label3.Border.BottomColor = Color.Black;
			this.label3.Border.BottomStyle = BorderLineStyle.None;
			this.label3.Border.LeftColor = Color.Black;
			this.label3.Border.LeftStyle = BorderLineStyle.None;
			this.label3.Border.RightColor = Color.Black;
			this.label3.Border.RightStyle = BorderLineStyle.None;
			this.label3.Border.TopColor = Color.Black;
			this.label3.Border.TopStyle = BorderLineStyle.None;
			this.label3.Height = 0.25f;
			this.label3.HyperLink = null;
			this.label3.Left = 0f;
			this.label3.Name = "label3";
			this.label3.Style = "ddo-char-set: 1; text-align: center; font-weight: bold; font-size: 14pt; vertical-align: middle; ";
			this.label3.Text = "PHIẾU NHẬP KHO";
			this.label3.Top = 0.7916667f;
			this.label3.Width = 7.9375f;
			this.label1.Border.BottomColor = Color.Black;
			this.label1.Border.BottomStyle = BorderLineStyle.None;
			this.label1.Border.LeftColor = Color.Black;
			this.label1.Border.LeftStyle = BorderLineStyle.None;
			this.label1.Border.RightColor = Color.Black;
			this.label1.Border.RightStyle = BorderLineStyle.None;
			this.label1.Border.TopColor = Color.Black;
			this.label1.Border.TopStyle = BorderLineStyle.None;
			this.label1.Height = 0.1875f;
			this.label1.HyperLink = null;
			this.label1.Left = 0.03125f;
			this.label1.Name = "label1";
			this.label1.Style = "background-color: White; ";
			this.label1.Text = "Thông tin chung";
			this.label1.Top = 1.15625f;
			this.label1.Width = 1.0625f;
			this.label2.Border.BottomColor = Color.Black;
			this.label2.Border.BottomStyle = BorderLineStyle.None;
			this.label2.Border.LeftColor = Color.Black;
			this.label2.Border.LeftStyle = BorderLineStyle.None;
			this.label2.Border.RightColor = Color.Black;
			this.label2.Border.RightStyle = BorderLineStyle.None;
			this.label2.Border.TopColor = Color.Black;
			this.label2.Border.TopStyle = BorderLineStyle.None;
			this.label2.Height = 0.1875f;
			this.label2.HyperLink = null;
			this.label2.Left = 0.1875f;
			this.label2.Name = "label2";
			this.label2.Style = "text-align: right; background-color: #C0FFFF; ";
			this.label2.Text = "Nhà cung cấp :  ";
			this.label2.Top = 1.645833f;
			this.label2.Width = 1.0625f;
			this.lblProviderName.Border.BottomColor = Color.Black;
			this.lblProviderName.Border.BottomStyle = BorderLineStyle.None;
			this.lblProviderName.Border.LeftColor = Color.Black;
			this.lblProviderName.Border.LeftStyle = BorderLineStyle.None;
			this.lblProviderName.Border.RightColor = Color.Black;
			this.lblProviderName.Border.RightStyle = BorderLineStyle.None;
			this.lblProviderName.Border.TopColor = Color.Black;
			this.lblProviderName.Border.TopStyle = BorderLineStyle.None;
			this.lblProviderName.Height = 0.1875f;
			this.lblProviderName.HyperLink = null;
			this.lblProviderName.Left = 1.3125f;
			this.lblProviderName.Name = "lblProviderName";
			this.lblProviderName.Style = "background-color: #C0FFFF; ";
			this.lblProviderName.Text = "";
			this.lblProviderName.Top = 1.645833f;
			this.lblProviderName.Width = 4.0625f;
			this.label4.Border.BottomColor = Color.Black;
			this.label4.Border.BottomStyle = BorderLineStyle.None;
			this.label4.Border.LeftColor = Color.Black;
			this.label4.Border.LeftStyle = BorderLineStyle.None;
			this.label4.Border.RightColor = Color.Black;
			this.label4.Border.RightStyle = BorderLineStyle.None;
			this.label4.Border.TopColor = Color.Black;
			this.label4.Border.TopStyle = BorderLineStyle.None;
			this.label4.Height = 0.1875f;
			this.label4.HyperLink = null;
			this.label4.Left = 5.4375f;
			this.label4.Name = "label4";
			this.label4.Style = "text-align: right; background-color: #C0FFFF; ";
			this.label4.Text = "Điện thoại :  ";
			this.label4.Top = 1.645833f;
			this.label4.Width = 0.8125f;
			this.lblProviderPhone.Border.BottomColor = Color.Black;
			this.lblProviderPhone.Border.BottomStyle = BorderLineStyle.None;
			this.lblProviderPhone.Border.LeftColor = Color.Black;
			this.lblProviderPhone.Border.LeftStyle = BorderLineStyle.None;
			this.lblProviderPhone.Border.RightColor = Color.Black;
			this.lblProviderPhone.Border.RightStyle = BorderLineStyle.None;
			this.lblProviderPhone.Border.TopColor = Color.Black;
			this.lblProviderPhone.Border.TopStyle = BorderLineStyle.None;
			this.lblProviderPhone.Height = 0.1875f;
			this.lblProviderPhone.HyperLink = null;
			this.lblProviderPhone.Left = 6.3125f;
			this.lblProviderPhone.Name = "lblProviderPhone";
			this.lblProviderPhone.Style = "background-color: #C0FFFF; ";
			this.lblProviderPhone.Text = "";
			this.lblProviderPhone.Top = 1.645833f;
			this.lblProviderPhone.Width = 1.4375f;
			this.label5.Border.BottomColor = Color.Black;
			this.label5.Border.BottomStyle = BorderLineStyle.None;
			this.label5.Border.LeftColor = Color.Black;
			this.label5.Border.LeftStyle = BorderLineStyle.None;
			this.label5.Border.RightColor = Color.Black;
			this.label5.Border.RightStyle = BorderLineStyle.None;
			this.label5.Border.TopColor = Color.Black;
			this.label5.Border.TopStyle = BorderLineStyle.None;
			this.label5.Height = 0.1875f;
			this.label5.HyperLink = null;
			this.label5.Left = 2.9375f;
			this.label5.Name = "label5";
			this.label5.Style = "text-align: right; background-color: #C0FFFF; ";
			this.label5.Text = "Hoá đơn :  ";
			this.label5.Top = 1.395833f;
			this.label5.Width = 0.8125f;
			this.lblBillID.Border.BottomColor = Color.Black;
			this.lblBillID.Border.BottomStyle = BorderLineStyle.None;
			this.lblBillID.Border.LeftColor = Color.Black;
			this.lblBillID.Border.LeftStyle = BorderLineStyle.None;
			this.lblBillID.Border.RightColor = Color.Black;
			this.lblBillID.Border.RightStyle = BorderLineStyle.None;
			this.lblBillID.Border.TopColor = Color.Black;
			this.lblBillID.Border.TopStyle = BorderLineStyle.None;
			this.lblBillID.Height = 0.1875f;
			this.lblBillID.HyperLink = null;
			this.lblBillID.Left = 3.8125f;
			this.lblBillID.Name = "lblBillID";
			this.lblBillID.Style = "background-color: #C0FFFF; ";
			this.lblBillID.Text = "";
			this.lblBillID.Top = 1.395833f;
			this.lblBillID.Width = 1.5625f;
			this.label6.Border.BottomColor = Color.Black;
			this.label6.Border.BottomStyle = BorderLineStyle.None;
			this.label6.Border.LeftColor = Color.Black;
			this.label6.Border.LeftStyle = BorderLineStyle.None;
			this.label6.Border.RightColor = Color.Black;
			this.label6.Border.RightStyle = BorderLineStyle.None;
			this.label6.Border.TopColor = Color.Black;
			this.label6.Border.TopStyle = BorderLineStyle.None;
			this.label6.Height = 0.1875f;
			this.label6.HyperLink = null;
			this.label6.Left = 5.4375f;
			this.label6.Name = "label6";
			this.label6.Style = "text-align: right; background-color: #C0FFFF; ";
			this.label6.Text = "Ngày lập :  ";
			this.label6.Top = 1.395833f;
			this.label6.Width = 0.8125f;
			this.lblBillDate.Border.BottomColor = Color.Black;
			this.lblBillDate.Border.BottomStyle = BorderLineStyle.None;
			this.lblBillDate.Border.LeftColor = Color.Black;
			this.lblBillDate.Border.LeftStyle = BorderLineStyle.None;
			this.lblBillDate.Border.RightColor = Color.Black;
			this.lblBillDate.Border.RightStyle = BorderLineStyle.None;
			this.lblBillDate.Border.TopColor = Color.Black;
			this.lblBillDate.Border.TopStyle = BorderLineStyle.None;
			this.lblBillDate.Height = 0.1875f;
			this.lblBillDate.HyperLink = null;
			this.lblBillDate.Left = 6.3125f;
			this.lblBillDate.Name = "lblBillDate";
			this.lblBillDate.Style = "background-color: #C0FFFF; ";
			this.lblBillDate.Text = "";
			this.lblBillDate.Top = 1.395833f;
			this.lblBillDate.Width = 1.4375f;
			this.label7.Border.BottomColor = Color.Black;
			this.label7.Border.BottomStyle = BorderLineStyle.None;
			this.label7.Border.LeftColor = Color.Black;
			this.label7.Border.LeftStyle = BorderLineStyle.None;
			this.label7.Border.RightColor = Color.Black;
			this.label7.Border.RightStyle = BorderLineStyle.None;
			this.label7.Border.TopColor = Color.Black;
			this.label7.Border.TopStyle = BorderLineStyle.None;
			this.label7.Height = 0.1875f;
			this.label7.HyperLink = null;
			this.label7.Left = 0.1875f;
			this.label7.Name = "label7";
			this.label7.Style = "text-align: right; background-color: #C0FFFF; ";
			this.label7.Text = "Địa chỉ :  ";
			this.label7.Top = 1.895833f;
			this.label7.Width = 1.0625f;
			this.lvlProviderAddress.Border.BottomColor = Color.Black;
			this.lvlProviderAddress.Border.BottomStyle = BorderLineStyle.None;
			this.lvlProviderAddress.Border.LeftColor = Color.Black;
			this.lvlProviderAddress.Border.LeftStyle = BorderLineStyle.None;
			this.lvlProviderAddress.Border.RightColor = Color.Black;
			this.lvlProviderAddress.Border.RightStyle = BorderLineStyle.None;
			this.lvlProviderAddress.Border.TopColor = Color.Black;
			this.lvlProviderAddress.Border.TopStyle = BorderLineStyle.None;
			this.lvlProviderAddress.Height = 0.1875f;
			this.lvlProviderAddress.HyperLink = null;
			this.lvlProviderAddress.Left = 1.3125f;
			this.lvlProviderAddress.Name = "lvlProviderAddress";
			this.lvlProviderAddress.Style = "background-color: #C0FFFF; ";
			this.lvlProviderAddress.Text = "";
			this.lvlProviderAddress.Top = 1.895833f;
			this.lvlProviderAddress.Width = 6.4375f;
			this.label8.Border.BottomColor = Color.Black;
			this.label8.Border.BottomStyle = BorderLineStyle.None;
			this.label8.Border.LeftColor = Color.Black;
			this.label8.Border.LeftStyle = BorderLineStyle.None;
			this.label8.Border.RightColor = Color.Black;
			this.label8.Border.RightStyle = BorderLineStyle.None;
			this.label8.Border.TopColor = Color.Black;
			this.label8.Border.TopStyle = BorderLineStyle.None;
			this.label8.Height = 0.1875f;
			this.label8.HyperLink = null;
			this.label8.Left = 0.1875f;
			this.label8.Name = "label8";
			this.label8.Style = "text-align: right; background-color: #C0FFFF; ";
			this.label8.Text = "Diễn giải :  ";
			this.label8.Top = 2.145833f;
			this.label8.Width = 1.0625f;
			this.lblBillNote.Border.BottomColor = Color.Black;
			this.lblBillNote.Border.BottomStyle = BorderLineStyle.None;
			this.lblBillNote.Border.LeftColor = Color.Black;
			this.lblBillNote.Border.LeftStyle = BorderLineStyle.None;
			this.lblBillNote.Border.RightColor = Color.Black;
			this.lblBillNote.Border.RightStyle = BorderLineStyle.None;
			this.lblBillNote.Border.TopColor = Color.Black;
			this.lblBillNote.Border.TopStyle = BorderLineStyle.None;
			this.lblBillNote.Height = 0.1875f;
			this.lblBillNote.HyperLink = null;
			this.lblBillNote.Left = 1.3125f;
			this.lblBillNote.Name = "lblBillNote";
			this.lblBillNote.Style = "background-color: #C0FFFF; ";
			this.lblBillNote.Text = "";
			this.lblBillNote.Top = 2.145833f;
			this.lblBillNote.Width = 6.4375f;
			this.label23.Border.BottomColor = Color.Black;
			this.label23.Border.BottomStyle = BorderLineStyle.Solid;
			this.label23.Border.LeftColor = Color.Black;
			this.label23.Border.LeftStyle = BorderLineStyle.Solid;
			this.label23.Border.RightColor = Color.Black;
			this.label23.Border.RightStyle = BorderLineStyle.Solid;
			this.label23.Border.TopColor = Color.Black;
			this.label23.Border.TopStyle = BorderLineStyle.Solid;
			this.label23.Height = 0.2f;
			this.label23.HyperLink = null;
			this.label23.Left = 0.02083334f;
			this.label23.Name = "label23";
			this.label23.Style = "text-align: center; font-weight: bold; background-color: #C0FFFF; font-size: 9pt; vertical-align: middle; ";
			this.label23.Text = "TT";
			this.label23.Top = 2.625f;
			this.label23.Width = 0.5f;
			this.label24.Border.BottomColor = Color.Black;
			this.label24.Border.BottomStyle = BorderLineStyle.Solid;
			this.label24.Border.LeftColor = Color.Black;
			this.label24.Border.LeftStyle = BorderLineStyle.Solid;
			this.label24.Border.RightColor = Color.Black;
			this.label24.Border.RightStyle = BorderLineStyle.Solid;
			this.label24.Border.TopColor = Color.Black;
			this.label24.Border.TopStyle = BorderLineStyle.Solid;
			this.label24.Height = 0.2007874f;
			this.label24.HyperLink = null;
			this.label24.Left = 0.518611f;
			this.label24.Name = "label24";
			this.label24.Style = "text-align: center; font-weight: bold; background-color: #C0FFFF; font-size: 9pt; vertical-align: middle; ";
			this.label24.Text = "SẢN PHẨM";
			this.label24.Top = 2.625f;
			this.label24.Width = 2.637795f;
			this.label25.Border.BottomColor = Color.Black;
			this.label25.Border.BottomStyle = BorderLineStyle.Solid;
			this.label25.Border.LeftColor = Color.Black;
			this.label25.Border.LeftStyle = BorderLineStyle.Solid;
			this.label25.Border.RightColor = Color.Black;
			this.label25.Border.RightStyle = BorderLineStyle.Solid;
			this.label25.Border.TopColor = Color.Black;
			this.label25.Border.TopStyle = BorderLineStyle.Solid;
			this.label25.Height = 0.2f;
			this.label25.HyperLink = null;
			this.label25.Left = 3.154722f;
			this.label25.Name = "label25";
			this.label25.Style = "text-align: center; font-weight: bold; background-color: #C0FFFF; font-size: 9pt; vertical-align: middle; ";
			this.label25.Text = "ĐƠN VỊ TÍNH";
			this.label25.Top = 2.625f;
			this.label25.Width = 0.9f;
			this.label26.Border.BottomColor = Color.Black;
			this.label26.Border.BottomStyle = BorderLineStyle.Solid;
			this.label26.Border.LeftColor = Color.Black;
			this.label26.Border.LeftStyle = BorderLineStyle.Solid;
			this.label26.Border.RightColor = Color.Black;
			this.label26.Border.RightStyle = BorderLineStyle.Solid;
			this.label26.Border.TopColor = Color.Black;
			this.label26.Border.TopStyle = BorderLineStyle.Solid;
			this.label26.Height = 0.2f;
			this.label26.HyperLink = null;
			this.label26.Left = 4.0525f;
			this.label26.Name = "label26";
			this.label26.Style = "text-align: center; font-weight: bold; background-color: #C0FFFF; font-size: 9pt; vertical-align: middle; ";
			this.label26.Text = "SỐ LÔ";
			this.label26.Top = 2.625f;
			this.label26.Width = 1.2f;
			this.label27.Border.BottomColor = Color.Black;
			this.label27.Border.BottomStyle = BorderLineStyle.Solid;
			this.label27.Border.LeftColor = Color.Black;
			this.label27.Border.LeftStyle = BorderLineStyle.Solid;
			this.label27.Border.RightColor = Color.Black;
			this.label27.Border.RightStyle = BorderLineStyle.Solid;
			this.label27.Border.TopColor = Color.Black;
			this.label27.Border.TopStyle = BorderLineStyle.Solid;
			this.label27.Height = 0.2f;
			this.label27.HyperLink = null;
			this.label27.Left = 5.250278f;
			this.label27.Name = "label27";
			this.label27.Style = "text-align: center; font-weight: bold; background-color: #C0FFFF; font-size: 9pt; vertical-align: middle; ";
			this.label27.Text = "Sl";
			this.label27.Top = 2.625f;
			this.label27.Width = 0.8229167f;
			this.label28.Border.BottomColor = Color.Black;
			this.label28.Border.BottomStyle = BorderLineStyle.Solid;
			this.label28.Border.LeftColor = Color.Black;
			this.label28.Border.LeftStyle = BorderLineStyle.Solid;
			this.label28.Border.RightColor = Color.Black;
			this.label28.Border.RightStyle = BorderLineStyle.Solid;
			this.label28.Border.TopColor = Color.Black;
			this.label28.Border.TopStyle = BorderLineStyle.Solid;
			this.label28.Height = 0.2007874f;
			this.label28.HyperLink = null;
			this.label28.Left = 6.070971f;
			this.label28.Name = "label28";
			this.label28.Style = "text-align: center; font-weight: bold; background-color: #C0FFFF; font-size: 9pt; vertical-align: middle; ";
			this.label28.Text = "ĐƠN GIÁ";
			this.label28.Top = 2.625f;
			this.label28.Width = 0.9251968f;
			this.label29.Border.BottomColor = Color.Black;
			this.label29.Border.BottomStyle = BorderLineStyle.Solid;
			this.label29.Border.LeftColor = Color.Black;
			this.label29.Border.LeftStyle = BorderLineStyle.Solid;
			this.label29.Border.RightColor = Color.Black;
			this.label29.Border.RightStyle = BorderLineStyle.Solid;
			this.label29.Border.TopColor = Color.Black;
			this.label29.Border.TopStyle = BorderLineStyle.Solid;
			this.label29.Height = 0.2007874f;
			this.label29.HyperLink = null;
			this.label29.Left = 7f;
			this.label29.Name = "label29";
			this.label29.Style = "text-align: center; font-weight: bold; background-color: #C0FFFF; font-size: 9pt; vertical-align: middle; ";
			this.label29.Text = "THÀNH TIỀN";
			this.label29.Top = 2.625f;
			this.label29.Width = 0.9330708f;
			this.detail.ColumnSpacing = 0f;
			this.detail.Controls.AddRange(new ARControl[]
			{
				this.textBox1,
				this.textBox2,
				this.textBox3,
				this.textBox4,
				this.textBox5,
				this.textBox6,
				this.textBox7
			});
			this.detail.Height = 0.2165354f;
			this.detail.Name = "detail";
			this.detail.BeforePrint += new EventHandler(this.detail_BeforePrint);
			this.pageFooter.Controls.AddRange(new ARControl[]
			{
				this.lblPrintTime
			});
			this.pageFooter.Height = 0.1770833f;
			this.pageFooter.Name = "pageFooter";
			this.lblPrintTime.Border.BottomColor = Color.Black;
			this.lblPrintTime.Border.BottomStyle = BorderLineStyle.None;
			this.lblPrintTime.Border.LeftColor = Color.Black;
			this.lblPrintTime.Border.LeftStyle = BorderLineStyle.None;
			this.lblPrintTime.Border.RightColor = Color.Black;
			this.lblPrintTime.Border.RightStyle = BorderLineStyle.None;
			this.lblPrintTime.Border.TopColor = Color.Black;
			this.lblPrintTime.Border.TopStyle = BorderLineStyle.None;
			this.lblPrintTime.Height = 0.18f;
			this.lblPrintTime.HyperLink = null;
			this.lblPrintTime.Left = 0.03125f;
			this.lblPrintTime.Name = "lblPrintTime";
			this.lblPrintTime.Style = "color: Gray; text-align: left; font-weight: normal; font-style: italic; background-color: White; font-size: 9pt; vertical-align: middle; ";
			this.lblPrintTime.Text = "";
			this.lblPrintTime.Top = 0f;
			this.lblPrintTime.Width = 3f;
			this.lblTotalMoney23232.Border.BottomColor = Color.FromArgb(128, 128, 255);
			this.lblTotalMoney23232.Border.BottomStyle = BorderLineStyle.Solid;
			this.lblTotalMoney23232.Border.LeftColor = Color.FromArgb(128, 128, 255);
			this.lblTotalMoney23232.Border.LeftStyle = BorderLineStyle.Solid;
			this.lblTotalMoney23232.Border.RightColor = Color.FromArgb(128, 128, 255);
			this.lblTotalMoney23232.Border.RightStyle = BorderLineStyle.Solid;
			this.lblTotalMoney23232.Border.TopColor = Color.FromArgb(128, 128, 255);
			this.lblTotalMoney23232.Border.TopStyle = BorderLineStyle.Solid;
			this.lblTotalMoney23232.Height = 0.22f;
			this.lblTotalMoney23232.HyperLink = null;
			this.lblTotalMoney23232.Left = 7.052083f;
			this.lblTotalMoney23232.Name = "lblTotalMoney23232";
			this.lblTotalMoney23232.Style = "text-align: right; font-weight: bold; background-color: Gainsboro; font-size: 9.75pt; vertical-align: middle; ";
			this.lblTotalMoney23232.Text = "";
			this.lblTotalMoney23232.Top = 0.04166666f;
			this.lblTotalMoney23232.Width = 0.9f;
			this.reportHeader1.Controls.AddRange(new ARControl[]
			{
				this.lblComName,
				this.shape1,
				this.lblComAddress,
				this.lblComPhone,
				this.label3,
				this.label1,
				this.label2,
				this.lblProviderName,
				this.label4,
				this.lblProviderPhone,
				this.label5,
				this.lblBillID,
				this.label6,
				this.lblBillDate,
				this.label7,
				this.lvlProviderAddress,
				this.label8,
				this.lblBillNote,
				this.label24,
				this.label23,
				this.label25,
				this.label26,
				this.label27,
				this.label28,
				this.label29
			});
			this.reportHeader1.Height = 2.830709f;
			this.reportHeader1.Name = "reportHeader1";
			this.reportFooter1.Controls.AddRange(new ARControl[]
			{
				this.lblTotalMoney23232,
				this.label17,
				this.label18,
				this.lblAllMoney,
				this.lblDebt,
				this.lblTotalMoney,
				this.label19,
				this.label20,
				this.label21,
				this.label22,
				this.txtMoney,
				this.label31,
				this.txtDisCount,
				this.lblMoneyByWord,
				this.label32,
				this.txtTotalVAT,
				this.label16,
				this.label30
			});
			this.reportFooter1.Height = 1.84375f;
			this.reportFooter1.Name = "reportFooter1";
			this.label17.Border.BottomColor = Color.FromArgb(128, 128, 255);
			this.label17.Border.BottomStyle = BorderLineStyle.Solid;
			this.label17.Border.LeftColor = Color.FromArgb(128, 128, 255);
			this.label17.Border.LeftStyle = BorderLineStyle.Solid;
			this.label17.Border.RightColor = Color.FromArgb(128, 128, 255);
			this.label17.Border.RightStyle = BorderLineStyle.Solid;
			this.label17.Border.TopColor = Color.FromArgb(128, 128, 255);
			this.label17.Border.TopStyle = BorderLineStyle.Solid;
			this.label17.Height = 0.22f;
			this.label17.HyperLink = null;
			this.label17.Left = 3.166585f;
			this.label17.Name = "label17";
			this.label17.Style = "text-align: right; background-color: White; vertical-align: middle; ";
			this.label17.Text = "Nợ cũ : ";
			this.label17.Top = 0.8110235f;
			this.label17.Width = 0.4995832f;
			this.label18.Border.BottomColor = Color.FromArgb(128, 128, 255);
			this.label18.Border.BottomStyle = BorderLineStyle.Solid;
			this.label18.Border.LeftColor = Color.FromArgb(128, 128, 255);
			this.label18.Border.LeftStyle = BorderLineStyle.Solid;
			this.label18.Border.RightColor = Color.FromArgb(128, 128, 255);
			this.label18.Border.RightStyle = BorderLineStyle.Solid;
			this.label18.Border.TopColor = Color.FromArgb(128, 128, 255);
			this.label18.Border.TopStyle = BorderLineStyle.Solid;
			this.label18.Height = 0.2204724f;
			this.label18.HyperLink = null;
			this.label18.Left = 5.213167f;
			this.label18.Name = "label18";
			this.label18.Style = "text-align: right; background-color: White; vertical-align: middle; ";
			this.label18.Text = "Tổng nợ : ";
			this.label18.Top = 0.8125f;
			this.label18.Width = 0.9015748f;
			this.lblAllMoney.Border.BottomColor = Color.FromArgb(128, 128, 255);
			this.lblAllMoney.Border.BottomStyle = BorderLineStyle.Solid;
			this.lblAllMoney.Border.LeftColor = Color.FromArgb(128, 128, 255);
			this.lblAllMoney.Border.LeftStyle = BorderLineStyle.Solid;
			this.lblAllMoney.Border.RightColor = Color.FromArgb(128, 128, 255);
			this.lblAllMoney.Border.RightStyle = BorderLineStyle.Solid;
			this.lblAllMoney.Border.TopColor = Color.FromArgb(128, 128, 255);
			this.lblAllMoney.Border.TopStyle = BorderLineStyle.Solid;
			this.lblAllMoney.Height = 0.22f;
			this.lblAllMoney.Left = 6.176834f;
			this.lblAllMoney.Name = "lblAllMoney";
			this.lblAllMoney.OutputFormat = resourceManager.GetString("lblAllMoney.OutputFormat");
			this.lblAllMoney.Style = "text-align: right; font-weight: bold; font-size: 9pt; vertical-align: middle; ";
			this.lblAllMoney.Text = null;
			this.lblAllMoney.Top = 0.8123334f;
			this.lblAllMoney.Width = 1.775f;
			this.lblDebt.Border.BottomColor = Color.FromArgb(128, 128, 255);
			this.lblDebt.Border.BottomStyle = BorderLineStyle.Solid;
			this.lblDebt.Border.LeftColor = Color.FromArgb(128, 128, 255);
			this.lblDebt.Border.LeftStyle = BorderLineStyle.Solid;
			this.lblDebt.Border.RightColor = Color.FromArgb(128, 128, 255);
			this.lblDebt.Border.RightStyle = BorderLineStyle.Solid;
			this.lblDebt.Border.TopColor = Color.FromArgb(128, 128, 255);
			this.lblDebt.Border.TopStyle = BorderLineStyle.Solid;
			this.lblDebt.Height = 0.2204724f;
			this.lblDebt.Left = 3.713747f;
			this.lblDebt.Name = "lblDebt";
			this.lblDebt.OutputFormat = resourceManager.GetString("lblDebt.OutputFormat");
			this.lblDebt.Style = "text-align: right; font-weight: bold; font-size: 9pt; vertical-align: middle; ";
			this.lblDebt.Text = null;
			this.lblDebt.Top = 0.8110235f;
			this.lblDebt.Width = 1.452674f;
			this.lblTotalMoney.Border.BottomColor = Color.FromArgb(128, 128, 255);
			this.lblTotalMoney.Border.BottomStyle = BorderLineStyle.Solid;
			this.lblTotalMoney.Border.LeftColor = Color.FromArgb(128, 128, 255);
			this.lblTotalMoney.Border.LeftStyle = BorderLineStyle.Solid;
			this.lblTotalMoney.Border.RightColor = Color.FromArgb(128, 128, 255);
			this.lblTotalMoney.Border.RightStyle = BorderLineStyle.Solid;
			this.lblTotalMoney.Border.TopColor = Color.FromArgb(128, 128, 255);
			this.lblTotalMoney.Border.TopStyle = BorderLineStyle.Solid;
			this.lblTotalMoney.Height = 0.22f;
			this.lblTotalMoney.Left = 6.176834f;
			this.lblTotalMoney.Name = "lblTotalMoney";
			this.lblTotalMoney.OutputFormat = resourceManager.GetString("lblTotalMoney.OutputFormat");
			this.lblTotalMoney.Style = "text-align: right; font-weight: bold; background-color: White; font-size: 9pt; vertical-align: middle; ";
			this.lblTotalMoney.Text = null;
			this.lblTotalMoney.Top = 0.5554445f;
			this.lblTotalMoney.Width = 1.775f;
			this.label19.Border.BottomColor = Color.Black;
			this.label19.Border.BottomStyle = BorderLineStyle.None;
			this.label19.Border.LeftColor = Color.Black;
			this.label19.Border.LeftStyle = BorderLineStyle.None;
			this.label19.Border.RightColor = Color.Black;
			this.label19.Border.RightStyle = BorderLineStyle.None;
			this.label19.Border.TopColor = Color.Black;
			this.label19.Border.TopStyle = BorderLineStyle.None;
			this.label19.Height = 0.22f;
			this.label19.HyperLink = null;
			this.label19.Left = 0.3125f;
			this.label19.Name = "label19";
			this.label19.Style = "text-align: center; font-weight: bold; background-color: White; font-size: 9.75pt; vertical-align: middle; ";
			this.label19.Text = "Người giao hàng";
			this.label19.Top = 1.541667f;
			this.label19.Width = 1.385f;
			this.label20.Border.BottomColor = Color.Black;
			this.label20.Border.BottomStyle = BorderLineStyle.None;
			this.label20.Border.LeftColor = Color.Black;
			this.label20.Border.LeftStyle = BorderLineStyle.None;
			this.label20.Border.RightColor = Color.Black;
			this.label20.Border.RightStyle = BorderLineStyle.None;
			this.label20.Border.TopColor = Color.Black;
			this.label20.Border.TopStyle = BorderLineStyle.None;
			this.label20.Height = 0.22f;
			this.label20.HyperLink = null;
			this.label20.Left = 2.3125f;
			this.label20.Name = "label20";
			this.label20.Style = "text-align: center; font-weight: bold; background-color: White; font-size: 9.75pt; vertical-align: middle; ";
			this.label20.Text = "Người nhận hàng";
			this.label20.Top = 1.541667f;
			this.label20.Width = 1.385f;
			this.label21.Border.BottomColor = Color.Black;
			this.label21.Border.BottomStyle = BorderLineStyle.None;
			this.label21.Border.LeftColor = Color.Black;
			this.label21.Border.LeftStyle = BorderLineStyle.None;
			this.label21.Border.RightColor = Color.Black;
			this.label21.Border.RightStyle = BorderLineStyle.None;
			this.label21.Border.TopColor = Color.Black;
			this.label21.Border.TopStyle = BorderLineStyle.None;
			this.label21.Height = 0.22f;
			this.label21.HyperLink = null;
			this.label21.Left = 4.3125f;
			this.label21.Name = "label21";
			this.label21.Style = "text-align: center; font-weight: bold; background-color: White; font-size: 9.75pt; vertical-align: middle; ";
			this.label21.Text = "Thủ kho";
			this.label21.Top = 1.541667f;
			this.label21.Width = 1.385f;
			this.label22.Border.BottomColor = Color.Black;
			this.label22.Border.BottomStyle = BorderLineStyle.None;
			this.label22.Border.LeftColor = Color.Black;
			this.label22.Border.LeftStyle = BorderLineStyle.None;
			this.label22.Border.RightColor = Color.Black;
			this.label22.Border.RightStyle = BorderLineStyle.None;
			this.label22.Border.TopColor = Color.Black;
			this.label22.Border.TopStyle = BorderLineStyle.None;
			this.label22.Height = 0.22f;
			this.label22.HyperLink = null;
			this.label22.Left = 6.3125f;
			this.label22.Name = "label22";
			this.label22.Style = "text-align: center; font-weight: bold; background-color: White; font-size: 9.75pt; vertical-align: middle; ";
			this.label22.Text = "Thủ trưởng đơn vị";
			this.label22.Top = 1.541667f;
			this.label22.Width = 1.385f;
			this.txtMoney.Border.BottomColor = Color.FromArgb(128, 128, 255);
			this.txtMoney.Border.BottomStyle = BorderLineStyle.Solid;
			this.txtMoney.Border.LeftColor = Color.FromArgb(128, 128, 255);
			this.txtMoney.Border.LeftStyle = BorderLineStyle.Solid;
			this.txtMoney.Border.RightColor = Color.FromArgb(128, 128, 255);
			this.txtMoney.Border.RightStyle = BorderLineStyle.Solid;
			this.txtMoney.Border.TopColor = Color.FromArgb(128, 128, 255);
			this.txtMoney.Border.TopStyle = BorderLineStyle.Solid;
			this.txtMoney.Height = 0.22f;
			this.txtMoney.Left = 6.176834f;
			this.txtMoney.Name = "txtMoney";
			this.txtMoney.OutputFormat = resourceManager.GetString("txtMoney.OutputFormat");
			this.txtMoney.Style = "text-align: right; font-weight: bold; background-color: White; font-size: 9pt; vertical-align: middle; ";
			this.txtMoney.Text = null;
			this.txtMoney.Top = 0.04166667f;
			this.txtMoney.Width = 1.775f;
			this.label31.Border.BottomColor = Color.FromArgb(128, 128, 255);
			this.label31.Border.BottomStyle = BorderLineStyle.Solid;
			this.label31.Border.LeftColor = Color.FromArgb(128, 128, 255);
			this.label31.Border.LeftStyle = BorderLineStyle.Solid;
			this.label31.Border.RightColor = Color.FromArgb(128, 128, 255);
			this.label31.Border.RightStyle = BorderLineStyle.Solid;
			this.label31.Border.TopColor = Color.FromArgb(128, 128, 255);
			this.label31.Border.TopStyle = BorderLineStyle.Solid;
			this.label31.Height = 0.22f;
			this.label31.HyperLink = null;
			this.label31.Left = 6.177083f;
			this.label31.Name = "label31";
			this.label31.Style = "text-align: right; background-color: White; vertical-align: middle; ";
			this.label31.Text = "Chiết khấu : ";
			this.label31.Top = 0.2984536f;
			this.label31.Width = 0.8329166f;
			this.txtDisCount.Border.BottomColor = Color.FromArgb(128, 128, 255);
			this.txtDisCount.Border.BottomStyle = BorderLineStyle.Solid;
			this.txtDisCount.Border.LeftColor = Color.FromArgb(128, 128, 255);
			this.txtDisCount.Border.LeftStyle = BorderLineStyle.Solid;
			this.txtDisCount.Border.RightColor = Color.FromArgb(128, 128, 255);
			this.txtDisCount.Border.RightStyle = BorderLineStyle.Solid;
			this.txtDisCount.Border.TopColor = Color.FromArgb(128, 128, 255);
			this.txtDisCount.Border.TopStyle = BorderLineStyle.Solid;
			this.txtDisCount.Height = 0.22f;
			this.txtDisCount.Left = 7.046999f;
			this.txtDisCount.Name = "txtDisCount";
			this.txtDisCount.OutputFormat = resourceManager.GetString("txtDisCount.OutputFormat");
			this.txtDisCount.Style = "text-align: right; font-weight: bold; background-color: White; font-size: 9pt; vertical-align: middle; ";
			this.txtDisCount.Text = null;
			this.txtDisCount.Top = 0.2985556f;
			this.txtDisCount.Width = 0.9f;
			this.lblMoneyByWord.Border.BottomColor = Color.Black;
			this.lblMoneyByWord.Border.BottomStyle = BorderLineStyle.None;
			this.lblMoneyByWord.Border.LeftColor = Color.Black;
			this.lblMoneyByWord.Border.LeftStyle = BorderLineStyle.None;
			this.lblMoneyByWord.Border.RightColor = Color.Black;
			this.lblMoneyByWord.Border.RightStyle = BorderLineStyle.None;
			this.lblMoneyByWord.Border.TopColor = Color.Black;
			this.lblMoneyByWord.Border.TopStyle = BorderLineStyle.None;
			this.lblMoneyByWord.Height = 0.3660598f;
			this.lblMoneyByWord.HyperLink = null;
			this.lblMoneyByWord.Left = 0.03124999f;
			this.lblMoneyByWord.Name = "lblMoneyByWord";
			this.lblMoneyByWord.Style = "ddo-char-set: 163; text-align: right; font-weight: normal; font-style: italic; font-size: 9.75pt; vertical-align: top; ";
			this.lblMoneyByWord.Text = "";
			this.lblMoneyByWord.Top = 1.072917f;
			this.lblMoneyByWord.Width = 7.914453f;
			this.label32.Border.BottomColor = Color.FromArgb(128, 128, 255);
			this.label32.Border.BottomStyle = BorderLineStyle.Solid;
			this.label32.Border.LeftColor = Color.FromArgb(128, 128, 255);
			this.label32.Border.LeftStyle = BorderLineStyle.Solid;
			this.label32.Border.RightColor = Color.FromArgb(128, 128, 255);
			this.label32.Border.RightStyle = BorderLineStyle.Solid;
			this.label32.Border.TopColor = Color.FromArgb(128, 128, 255);
			this.label32.Border.TopStyle = BorderLineStyle.Solid;
			this.label32.Height = 0.22f;
			this.label32.HyperLink = null;
			this.label32.Left = 3.166585f;
			this.label32.Name = "label32";
			this.label32.Style = "text-align: right; background-color: White; vertical-align: middle; ";
			this.label32.Text = "Tổng VAT : ";
			this.label32.Top = 0.2992126f;
			this.label32.Width = 2.01f;
			this.txtTotalVAT.Border.BottomColor = Color.FromArgb(128, 128, 255);
			this.txtTotalVAT.Border.BottomStyle = BorderLineStyle.Solid;
			this.txtTotalVAT.Border.LeftColor = Color.FromArgb(128, 128, 255);
			this.txtTotalVAT.Border.LeftStyle = BorderLineStyle.Solid;
			this.txtTotalVAT.Border.RightColor = Color.FromArgb(128, 128, 255);
			this.txtTotalVAT.Border.RightStyle = BorderLineStyle.Solid;
			this.txtTotalVAT.Border.TopColor = Color.FromArgb(128, 128, 255);
			this.txtTotalVAT.Border.TopStyle = BorderLineStyle.Solid;
			this.txtTotalVAT.Height = 0.22f;
			this.txtTotalVAT.Left = 5.213747f;
			this.txtTotalVAT.Name = "txtTotalVAT";
			this.txtTotalVAT.OutputFormat = resourceManager.GetString("txtTotalVAT.OutputFormat");
			this.txtTotalVAT.Style = "text-align: right; font-weight: bold; background-color: White; font-size: 9pt; vertical-align: middle; ";
			this.txtTotalVAT.Text = null;
			this.txtTotalVAT.Top = 0.2992126f;
			this.txtTotalVAT.Width = 0.9f;
			this.label16.Border.BottomColor = Color.FromArgb(128, 128, 255);
			this.label16.Border.BottomStyle = BorderLineStyle.Solid;
			this.label16.Border.LeftColor = Color.FromArgb(128, 128, 255);
			this.label16.Border.LeftStyle = BorderLineStyle.Solid;
			this.label16.Border.RightColor = Color.FromArgb(128, 128, 255);
			this.label16.Border.RightStyle = BorderLineStyle.Solid;
			this.label16.Border.TopColor = Color.FromArgb(128, 128, 255);
			this.label16.Border.TopStyle = BorderLineStyle.Solid;
			this.label16.Height = 0.22f;
			this.label16.HyperLink = null;
			this.label16.Left = 3.166667f;
			this.label16.Name = "label16";
			this.label16.Style = "text-align: right; background-color: White; vertical-align: middle; ";
			this.label16.Text = "Tổng tiền hàng : ";
			this.label16.Top = 0.04166666f;
			this.label16.Width = 2.9475f;
			this.label30.Border.BottomColor = Color.FromArgb(128, 128, 255);
			this.label30.Border.BottomStyle = BorderLineStyle.Solid;
			this.label30.Border.LeftColor = Color.FromArgb(128, 128, 255);
			this.label30.Border.LeftStyle = BorderLineStyle.Solid;
			this.label30.Border.RightColor = Color.FromArgb(128, 128, 255);
			this.label30.Border.RightStyle = BorderLineStyle.Solid;
			this.label30.Border.TopColor = Color.FromArgb(128, 128, 255);
			this.label30.Border.TopStyle = BorderLineStyle.Solid;
			this.label30.Height = 0.2204724f;
			this.label30.HyperLink = null;
			this.label30.Left = 3.166585f;
			this.label30.Name = "label30";
			this.label30.Style = "text-align: right; background-color: White; vertical-align: middle; ";
			this.label30.Text = "Tổng tiền hàng phải trả : ";
			this.label30.Top = 0.5552406f;
			this.label30.Width = 2.947261f;
			this.textBox1.Border.BottomColor = Color.Black;
			this.textBox1.Border.BottomStyle = BorderLineStyle.Solid;
			this.textBox1.Border.LeftColor = Color.Black;
			this.textBox1.Border.LeftStyle = BorderLineStyle.Solid;
			this.textBox1.Border.RightColor = Color.Black;
			this.textBox1.Border.RightStyle = BorderLineStyle.Solid;
			this.textBox1.Border.TopColor = Color.Black;
			this.textBox1.Border.TopStyle = BorderLineStyle.Solid;
			this.textBox1.DataField = "TT";
			this.textBox1.Height = 0.2204724f;
			this.textBox1.Left = 0.01968504f;
			this.textBox1.Name = "textBox1";
			this.textBox1.Style = "vertical-align: middle; ";
			this.textBox1.Top = 0f;
			this.textBox1.Width = 0.5f;
			this.textBox2.Border.BottomColor = Color.Black;
			this.textBox2.Border.BottomStyle = BorderLineStyle.Solid;
			this.textBox2.Border.LeftColor = Color.Black;
			this.textBox2.Border.LeftStyle = BorderLineStyle.Solid;
			this.textBox2.Border.RightColor = Color.Black;
			this.textBox2.Border.RightStyle = BorderLineStyle.Solid;
			this.textBox2.Border.TopColor = Color.Black;
			this.textBox2.Border.TopStyle = BorderLineStyle.Solid;
			this.textBox2.DataField = "ProductName";
			this.textBox2.Height = 0.2204724f;
			this.textBox2.Left = 0.5196851f;
			this.textBox2.Name = "textBox2";
			this.textBox2.Style = "vertical-align: middle; ";
			this.textBox2.Top = 0f;
			this.textBox2.Width = 2.637795f;
			this.textBox3.Border.BottomColor = Color.Black;
			this.textBox3.Border.BottomStyle = BorderLineStyle.Solid;
			this.textBox3.Border.LeftColor = Color.Black;
			this.textBox3.Border.LeftStyle = BorderLineStyle.Solid;
			this.textBox3.Border.RightColor = Color.Black;
			this.textBox3.Border.RightStyle = BorderLineStyle.Solid;
			this.textBox3.Border.TopColor = Color.Black;
			this.textBox3.Border.TopStyle = BorderLineStyle.Solid;
			this.textBox3.DataField = "ProductUnit";
			this.textBox3.Height = 0.2204724f;
			this.textBox3.Left = 3.153543f;
			this.textBox3.Name = "textBox3";
			this.textBox3.Style = "vertical-align: middle; ";
			this.textBox3.Top = 0f;
			this.textBox3.Width = 0.9015748f;
			this.textBox4.Border.BottomColor = Color.Black;
			this.textBox4.Border.BottomStyle = BorderLineStyle.Solid;
			this.textBox4.Border.LeftColor = Color.Black;
			this.textBox4.Border.LeftStyle = BorderLineStyle.Solid;
			this.textBox4.Border.RightColor = Color.Black;
			this.textBox4.Border.RightStyle = BorderLineStyle.Solid;
			this.textBox4.Border.TopColor = Color.Black;
			this.textBox4.Border.TopStyle = BorderLineStyle.Solid;
			this.textBox4.DataField = "Packet";
			this.textBox4.Height = 0.2204724f;
			this.textBox4.Left = 4.051181f;
			this.textBox4.Name = "textBox4";
			this.textBox4.Style = "vertical-align: middle; ";
			this.textBox4.Top = 0f;
			this.textBox4.Width = 1.200787f;
			this.textBox5.Border.BottomColor = Color.Black;
			this.textBox5.Border.BottomStyle = BorderLineStyle.Solid;
			this.textBox5.Border.LeftColor = Color.Black;
			this.textBox5.Border.LeftStyle = BorderLineStyle.Solid;
			this.textBox5.Border.RightColor = Color.Black;
			this.textBox5.Border.RightStyle = BorderLineStyle.Solid;
			this.textBox5.Border.TopColor = Color.Black;
			this.textBox5.Border.TopStyle = BorderLineStyle.Solid;
			this.textBox5.DataField = "ProductNumber";
			this.textBox5.Height = 0.2204724f;
			this.textBox5.Left = 5.251969f;
			this.textBox5.Name = "textBox5";
			this.textBox5.Style = "text-align: right; vertical-align: middle; ";
			this.textBox5.Top = 0f;
			this.textBox5.Width = 0.8228346f;
			this.textBox6.Border.BottomColor = Color.Black;
			this.textBox6.Border.BottomStyle = BorderLineStyle.Solid;
			this.textBox6.Border.LeftColor = Color.Black;
			this.textBox6.Border.LeftStyle = BorderLineStyle.Solid;
			this.textBox6.Border.RightColor = Color.Black;
			this.textBox6.Border.RightStyle = BorderLineStyle.Solid;
			this.textBox6.Border.TopColor = Color.Black;
			this.textBox6.Border.TopStyle = BorderLineStyle.Solid;
			this.textBox6.DataField = "ProductPrice";
			this.textBox6.Height = 0.2204724f;
			this.textBox6.Left = 6.070866f;
			this.textBox6.Name = "textBox6";
			this.textBox6.Style = "text-align: right; vertical-align: middle; ";
			this.textBox6.Top = 0f;
			this.textBox6.Width = 0.9251968f;
			this.textBox7.Border.BottomColor = Color.Black;
			this.textBox7.Border.BottomStyle = BorderLineStyle.Solid;
			this.textBox7.Border.LeftColor = Color.Black;
			this.textBox7.Border.LeftStyle = BorderLineStyle.Solid;
			this.textBox7.Border.RightColor = Color.Black;
			this.textBox7.Border.RightStyle = BorderLineStyle.Solid;
			this.textBox7.Border.TopColor = Color.Black;
			this.textBox7.Border.TopStyle = BorderLineStyle.Solid;
			this.textBox7.DataField = "ProductMoney";
			this.textBox7.Height = 0.2204724f;
			this.textBox7.Left = 7f;
			this.textBox7.Name = "textBox7";
			this.textBox7.Style = "text-align: right; vertical-align: middle; ";
			this.textBox7.Top = 0f;
			this.textBox7.Width = 0.9330708f;
			base.MasterReport = false;
			base.PageSettings.DefaultPaperSize = false;
			base.PageSettings.Margins.Bottom = 0.2f;
			base.PageSettings.Margins.Left = 0.1574803f;
			base.PageSettings.Margins.Right = 0.1f;
			base.PageSettings.Margins.Top = 0.2f;
			base.PageSettings.PaperHeight = 11.69291f;
			//base.PageSettings.PaperKind = 9;
			base.PageSettings.PaperWidth = 8.267716f;
			base.PrintWidth = 7.972917f;
			base.Sections.Add(this.reportHeader1);
			base.Sections.Add(this.pageHeader);
			base.Sections.Add(this.detail);
			base.Sections.Add(this.pageFooter);
			base.Sections.Add(this.reportFooter1);
			base.StyleSheet.Add(new StyleSheetRule("font-family: Arial; font-style: normal; text-decoration: none; font-weight: normal; font-size: 10pt; color: Black; ddo-char-set: 204; ", "Normal"));
			base.StyleSheet.Add(new StyleSheetRule("font-size: 16pt; font-weight: bold; ", "Heading1", "Normal"));
			base.StyleSheet.Add(new StyleSheetRule("font-family: Times New Roman; font-size: 14pt; font-weight: bold; font-style: italic; ", "Heading2", "Normal"));
			base.StyleSheet.Add(new StyleSheetRule("font-size: 13pt; font-weight: bold; ", "Heading3", "Normal"));
			((ISupportInitialize)this.lblComName).EndInit();
			((ISupportInitialize)this.lblComAddress).EndInit();
			((ISupportInitialize)this.lblComPhone).EndInit();
			((ISupportInitialize)this.label3).EndInit();
			((ISupportInitialize)this.label1).EndInit();
			((ISupportInitialize)this.label2).EndInit();
			((ISupportInitialize)this.lblProviderName).EndInit();
			((ISupportInitialize)this.label4).EndInit();
			((ISupportInitialize)this.lblProviderPhone).EndInit();
			((ISupportInitialize)this.label5).EndInit();
			((ISupportInitialize)this.lblBillID).EndInit();
			((ISupportInitialize)this.label6).EndInit();
			((ISupportInitialize)this.lblBillDate).EndInit();
			((ISupportInitialize)this.label7).EndInit();
			((ISupportInitialize)this.lvlProviderAddress).EndInit();
			((ISupportInitialize)this.label8).EndInit();
			((ISupportInitialize)this.lblBillNote).EndInit();
			((ISupportInitialize)this.label23).EndInit();
			((ISupportInitialize)this.label24).EndInit();
			((ISupportInitialize)this.label25).EndInit();
			((ISupportInitialize)this.label26).EndInit();
			((ISupportInitialize)this.label27).EndInit();
			((ISupportInitialize)this.label28).EndInit();
			((ISupportInitialize)this.label29).EndInit();
			((ISupportInitialize)this.lblPrintTime).EndInit();
			((ISupportInitialize)this.lblTotalMoney23232).EndInit();
			((ISupportInitialize)this.label17).EndInit();
			((ISupportInitialize)this.label18).EndInit();
			((ISupportInitialize)this.lblAllMoney).EndInit();
			((ISupportInitialize)this.lblDebt).EndInit();
			((ISupportInitialize)this.lblTotalMoney).EndInit();
			((ISupportInitialize)this.label19).EndInit();
			((ISupportInitialize)this.label20).EndInit();
			((ISupportInitialize)this.label21).EndInit();
			((ISupportInitialize)this.label22).EndInit();
			((ISupportInitialize)this.txtMoney).EndInit();
			((ISupportInitialize)this.label31).EndInit();
			((ISupportInitialize)this.txtDisCount).EndInit();
			((ISupportInitialize)this.lblMoneyByWord).EndInit();
			((ISupportInitialize)this.label32).EndInit();
			((ISupportInitialize)this.txtTotalVAT).EndInit();
			((ISupportInitialize)this.label16).EndInit();
			((ISupportInitialize)this.label30).EndInit();
			((ISupportInitialize)this.textBox1).EndInit();
			((ISupportInitialize)this.textBox2).EndInit();
			((ISupportInitialize)this.textBox3).EndInit();
			((ISupportInitialize)this.textBox4).EndInit();
			((ISupportInitialize)this.textBox5).EndInit();
			((ISupportInitialize)this.textBox6).EndInit();
			((ISupportInitialize)this.textBox7).EndInit();
			((ISupportInitialize)this).EndInit();
		}
		public frmInputBill()
		{
			this.InitializeComponent();
			try
			{
				frmInputBill.objTable.Columns.Add("TT", typeof(int));
			}
			catch
			{
			}
			for (int i = 0; i < frmInputBill.objTable.Rows.Count; i++)
			{
				frmInputBill.objTable.Rows[i]["TT"] = i + 1;
			}
			base.DataSource = frmInputBill.objTable;
			this.lblComName.Text = this.objFunc.getCompanyInfor("ComName").ToUpper();
			this.lblComAddress.Text = "Địa chỉ : " + this.objFunc.getCompanyInfor("ComAddress");
			this.lblComPhone.Text = "Điện thoại : " + this.objFunc.getCompanyInfor("ComPhone").ToUpper();
			this.txtMoney.Text = string.Format(Program.lenAffterDecimal, double.Parse(frmInputBill.totalMoney) - double.Parse(frmInputBill.totalVAT));
			this.txtTotalVAT.Text = frmInputBill.totalVAT;
			this.txtDisCount.Text = frmInputBill.discount;
			this.lblPrintTime.Text = string.Concat(new string[]
			{
				"In lúc ",
				DateTime.Now.Hour.ToString(),
				":",
				DateTime.Now.Minute.ToString(),
				" Ngày ",
				DateTime.Now.Day.ToString(),
				"/",
				DateTime.Now.Month.ToString(),
				"/",
				DateTime.Now.Year.ToString()
			});
			this.lblMoneyByWord.Text = frmInputBill.moneyByWord;
		}
		private void detail_BeforePrint(object sender, EventArgs e)
		{
			this.clsR.MakeSameHeight(this.detail);
		}
	}
}
